package com.itheima.pojo;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * comment实体类
 * @author 
 *
 */
@Table(name="comment")
public class Comment implements Serializable {

	@Id
	private Integer id;//id


	
	private Integer userPhone;//user_phone
	private java.util.Date createTime;//create_time
	private String body;//body
	private String images;//images
	private Integer tasteScore;//口味分数
	private Integer environmentScore;//环境分数
	private Integer serverScore;//服务分数
	private Integer ingredientScore;//食材分数
	private Integer productId;//商家id
	private String username;//username
	private Integer total_score;//单笔总分

	public Integer getTotal_score() {
		return total_score;
	}

	public void setTotal_score(Integer total_score) {
		this.total_score = total_score;
	}

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserPhone() {
		return userPhone;
	}
	public void setUserPhone(Integer userPhone) {
		this.userPhone = userPhone;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(java.util.Date createTime) {
		this.createTime = createTime;
	}

	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}

	public String getImages() {
		return images;
	}
	public void setImages(String images) {
		this.images = images;
	}

	public Integer getTasteScore() {
		return tasteScore;
	}
	public void setTasteScore(Integer tasteScore) {
		this.tasteScore = tasteScore;
	}

	public Integer getEnvironmentScore() {
		return environmentScore;
	}
	public void setEnvironmentScore(Integer environmentScore) {
		this.environmentScore = environmentScore;
	}

	public Integer getServerScore() {
		return serverScore;
	}
	public void setServerScore(Integer serverScore) {
		this.serverScore = serverScore;
	}

	public Integer getIngredientScore() {
		return ingredientScore;
	}
	public void setIngredientScore(Integer ingredientScore) {
		this.ingredientScore = ingredientScore;
	}

	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}

	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}



}
